package com.supertange.miniapp.wepet.modules.wepet.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.supertange.miniapp.wepet.common.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@TableName("topic")
@EqualsAndHashCode(callSuper = false)
public class TopicEntity extends BaseEntity<TopicEntity> implements Serializable {

    @TableId
    private String id;

    private String userid;

    private String username;

    private String title;

    private String content;

    private String date;

    private int favourate_cnt;

    private int answer_cnt;

    private int piclen;


}
